﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<t_205_verk_hopur_12.Models.ChannelVideoViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Eyða myndbandi
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Eyða myndbandi</h2>

    <h3>Ertu viss um að þú viljir eyða þessu myndbandi?</h3>
    <p>&nbsp;</p>
        
        <div class="display-label">Titill</div>
        <div class="display-field"><%= Html.Encode(Model.SingleVideo.Title) %></div>
        <div class="clear"></div>
        
        <div class="display-label">Lýsing</div>
        <div class="display-field"><%= Html.Encode(Model.SingleVideo.Description)%></div>
         <div class="clear"></div>
         
        <div class="display-label">Stigafjöldi</div>
        <div class="display-field"><%= Html.Encode(Model.SingleVideo.Rating)%></div>
        <div class="clear"></div>
        
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Eyða" />
        </p>
    <% } %>
    
    <p>&nbsp;</p>
    <%= Html.ActionLink("Til baka", "Videos", new { id = Model.SingleVideo.ChannelID})%>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="LogoText" runat="server">
    <%= Html.ActionLink(Model.Channel.Name, "Index", new { id = Model.Channel.ID }) %>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="MenuBar" runat="server">
    <% Html.RenderPartial("AdminChannelMenuBar", Model.Channel); %>
</asp:Content>

